package com.hp.bon.sgw.wh.mml.repositories;

import java.util.concurrent.ConcurrentLinkedQueue;

import com.hp.bon.sgw.wh.mml.common.MMLSessionEntity;

public class HttpResponseRepository {
	
	static ConcurrentLinkedQueue<MMLSessionEntity> responseQueue = new ConcurrentLinkedQueue<MMLSessionEntity>();
	
	public static void offer(MMLSessionEntity entity){
		responseQueue.offer(entity);
	}	
	public static MMLSessionEntity poll(){
		return responseQueue.poll();
	}
}
